package com.ux.iot.core.annotation;
import com.ux.iot.core.service.scan.IotScanRegister;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 扫描文件
 */
@Retention(RetentionPolicy.RUNTIME)//
@Target({ElementType.TYPE})
@Documented
@Import({IotScanRegister.class})
public @interface IotScan {
    //扫描包路径
    String[] basePackages() default {};
    //扫描类
    Class<?>[] basePackageClasses() default {};
}
